cubic =[0.000669568, 0, 0.0205289, 0, 0.0205289, 0, 0.000669568];
quadatic=[0, 0.00447754, 0, 0.109399, 0, 0.00447754, 0];
x=[-3.5 -3 -0.5 0 0.5 3 3.5];


plot(x,cubic);
hold on;
plot(x,quadatic);
hold on;

title('ProblemD');
legend("cubic","quadatic");
saveas(1,'D','png');
close(1);